package src;

public class Bit {
	int bit=0;
	public int getValue(){
		return bit;
	}
	public void setBit(){
		bit = 1;
	}
	public void resetBit(){
		bit = 0;
	}
	
	public boolean isSet(){
		if(bit == 1){return true;}
		else {return false;}
	}
	public boolean notSet(){
		if(bit == 0){return true;}
		else {return false;}
	}
	public String toString()
	{
		return Integer.valueOf(bit).toString();
	}
}
